import React from 'react'
import { Card, Button } from 'antd'
import ArtTable from './components/ArtTable'
import { PlusOutlined } from '@ant-design/icons'

type Props = {}

export default function list({ }: Props) {
    const btn = <Button type="primary"
        icon={<PlusOutlined />}>
        添加文章
    </Button>
    return (
        <div className='mt15'>
            <Card title={btn}>
                <ArtTable />
            </Card>
        </div>
    )
}